<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>deleterBookDown</title>
</head>
<body>
<h1>新增书完成</h1>
<h1>刚刚新增以下书籍</h1>
<table>
    <thead>
    <tr>
        <th>book_name</th>
        <th>book_detail</th>
        <th>book_cover</th>
    </tr>
    </thead>
    <tbody>
    <tr th:each="book: ${books}">
        <td th:text="${books.book_name}"></td>
        <td th:text="${books.book_detail}"></td>
        <td><img th:if="${book.book_cover != null}" th:src="@{'data:image/png;base64,' + #strings.encodeBase64(book.book_cover)}" /></td>
    </tr>
    </tbody>
</table>
<a th:href="@{/findAllBooks}">回去看看</a>
</body>
</html>